﻿* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft Yahei';
    font-size: 12px;
    color: #333;
    height: 100%;
}

a {
    text-decoration: none;
    cursor: pointer;
    -moz-transition: background-color .2s ease-out,color .1s ease-out;
    -webkit-transition: background-color .2s ease-out,color .1s ease-out;
    -ms-transition: background-color .2s ease-out,color .1s ease-out;
    transition: background-color .2s ease-out,color .1s ease-out;
}

    a:active, a:hover {
        outline: 0;
    }

    a:hover, a:focus {
        color: #2ec991;
        text-decoration: none;
    }

    a:active, a:hover {
        outline: 0;
    }

ul, p {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a, abbr, acronym, address, blockquote, button, caption, cite, code, dd, del, dfn, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5, h6, img, label, legend, li, ol, p, pre, q, s, samp, small, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, ul, var {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: 400;
    font-style: normal;
    font-size: 100%;
    line-height: 1;
    font-family: inherit;
}

.home-content {
    padding-left: 15px;
    padding-right: 15px;
}

.desk-status {
    padding-bottom: 15px;
    position: relative;
    line-height: 40px;
}

.desk-status-header {
    line-height: 40px;
    border-bottom: 1px solid #C3C1C1;
}

.table-num {
    display: inline-block;
    color: #0082C0;
}

    .table-num span {
        margin-right: 10px;
        position: relative;
    }

        .table-num span i {
            display: inline-block;
            padding: 6px;
            border-radius: 2px;
            margin-right: 2px;
        }

    .table-num .c-empty {
        background: #9ee4b0;
    }

    .table-num .c-using {
        background: #db5b5b;
    }

    .table-num .c-booked {
        background: #f4d382;
    }

.desklist {
    clear: both;
    display: block;
    position: relative;
}

    .desklist > ul > li {
        position: relative;
        width: 115px;
        height: 97px;
        color: #191f2b;
        cursor: pointer;
        text-align: center;
        background: #9ee4b0;
        border-radius: 2px;
        float: left;
        margin: 0 21px 34px 0;
        -moz-transition: background-color .2s ease-out,color .1s ease-out;
        -webkit-transition: background-color .2s ease-out,color .1s ease-out;
        -ms-transition: background-color .2s ease-out,color .1s ease-out;
        transition: background-color .2s ease-out,color .1s ease-out;
    }

    .desklist ul > li.using {
        background: #db5b5b;
        color: #FFF;
    }

    .desklist ul > li.booked {
        background: #f4d382;
    }

    .desklist .icheckbox_square {
        z-index: 1;
        opacity: 0;
    }

    .desklist li:hover .icheckbox_square {
        display: block;
        opacity: 1;
    }

    .desklist li .icheckbox_square.checked {
        display: block;
        opacity: 1;
    }

.icheckbox_square, .iradio_square {
    display: block;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    background: url(../images/square.png) no-repeat;
    border: 0;
    cursor: pointer;
}

    .icheckbox_square, .icheckbox_square.static:hover {
        background-position: -96px 0;
    }

        .icheckbox_square.checked {
            background-position: -48px 0;
        }

        .icheckbox_square.disabled {
            background-position: -72px 0;
            cursor: default;
        }

        .icheckbox_square.checked.disabled {
            background-position: -96px 0;
        }

.desklist > ul > li h3 {
    margin-top: 30%;
    height: 70%;
    font-size: 17px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.desklist .tables-over {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    cursor: pointer;
}

.li-hover-btn {
    display: none;
    font-size: 14px;
    Position: absolute;
    left: 0;
    right: 0;
    top: 43px;
    background: #ffa955;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

.desklist li .tables-over:hover .li-hover-btn {
    display: block;
}

.tab-chk {
    display: block;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    border: 0;
    cursor: pointer;
}

.desk-toolbar {
    position: relative;
    float: left;
    margin-bottom: 20px;
    display: inline-block;
    /*background-color:#9ee4b0;*/
}

    .desk-toolbar li {
        float: left;
        color: #0082C0;
        cursor: pointer;
        border-radius: 0;
        font-size: 14px;
        padding: 9px 12px;
        border: 1px solid #ddd;
        margin-left: -1px;
    }

        .desk-toolbar li i {
            color: #020d1a; /*#020d1a;*/
            margin-right: 6px;
        }

        .desk-toolbar li:hover {
            background: #9ee4b0;
            color: #020d1a;
        }

.margin-r6 {
    margin-right: 6px;
}
